﻿using OD.ProjectCustomizationTool.Helpers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OD.ProjectCustomizationTool
{
    internal abstract class FileUpdaterBase : ProjectToolBase
    {
        #region Properties

        /// <summary>
        /// Retrieve the relative path to the file considering the project root path.
        /// </summary>
        protected abstract String FileRelativePath { get; }

        /// <summary>
        /// Retrieve the full path to the file.
        /// </summary>
        protected String FileFullPath
        {
            get
            {
                return Path.Combine(Directory.GetParent(this.FullPathToProj).FullName, this.FileRelativePath);
            }
        }

        #endregion

    }
}
